/* STYLE.CSS – BF ARCHITECTE */

body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

/* TOP BAR */
.topbar {
    background: #0a0a0a;
    padding: 8px 20px;
    font-size: 14px;
    text-align: right;
    border-bottom: 1px solid #333;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #000;
}

.navbar .logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    transition: 0.3s;
}

.menu a:hover,
.menu .active {
    color: #c9c9c9;
}

/* HERO SECTION */
.hero {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 25px 40px;
    border-radius: 5px;
    text-align: center;
}

.caption h2 {
    margin: 0;
    font-size: 28px;
}

.caption p {
    margin-top: 10px;
    font-size: 16px;
}

/* STATISTIQUES */
.stats {
    padding: 70px 0;
    text-align: center;
}

.stats h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 80%;
    margin: auto;
    gap: 40px;
}

.item h3 {
    font-size: 40px;
    margin: 0;
    color: #fff;
}

.item p {
    margin-top: 10px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
    margin-top: 60px;
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .caption h2 {
        font-size: 22px;
    }
}
